﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class TreatmentDetail: MarshalByRefObject
    {
        private int detailId;
        private int treatmentId;
        private int medicinetId;
        private int morningMed;
        private int noonMed;
        private int afternoonMed;
        private int eveningMed;
        private int quantity;
        private string dosage;
        private int money;

        public override object InitializeLifetimeService()
        {
            return null;
        }

        public TreatmentDetail() { }
        public TreatmentDetail(int treatmentId, int medicinetId, int morningMed, int noonMed,
            int afternoonMed, int eveningMed, int quantity, String dosage,
            int money)
        {
            this.treatmentId = treatmentId;
            this.medicinetId = medicinetId;
            this.morningMed = morningMed;
            this.noonMed = noonMed;
            this.afternoonMed = afternoonMed;
            this.eveningMed = eveningMed;
            this.quantity = quantity;
            this.dosage = dosage;
            this.money = money;
        }

        public int getDetailId()
        {
            return detailId;
        }
        public void setDetailId(int detailId)
        {
            this.detailId = detailId;
        }
        public int getTreatmentId()
        {
            return treatmentId;
        }
        public void setTreatmentId(int treatmentId)
        {
            this.treatmentId = treatmentId;
        }
        public int getMedicinetId()
        {
            return medicinetId;
        }
        public void setMedicinetId(int medicinetId)
        {
            this.medicinetId = medicinetId;
        }
        public int getMorningMed()
        {
            return morningMed;
        }
        public void setMorningMed(int morningMed)
        {
            this.morningMed = morningMed;
        }
        public int getNoonMed()
        {
            return noonMed;
        }
        public void setNoonMed(int noonMed)
        {
            this.noonMed = noonMed;
        }
        public int getAfternoonMed()
        {
            return afternoonMed;
        }
        public void setAfternoonMed(int afternoonMed)
        {
            this.afternoonMed = afternoonMed;
        }
        public int getEveningMed()
        {
            return eveningMed;
        }
        public void setEveningMed(int eveningMed)
        {
            this.eveningMed = eveningMed;
        }
        public int getQuantity()
        {
            return quantity;
        }
        public void setQuantity(int quantity)
        {
            this.quantity = quantity;
        }
        public string getDosage()
        {
            return dosage;
        }
        public void setDosage(string dosage)
        {
            this.dosage = dosage;
        }
        public int getMoney()
        {
            return money;
        }
        public void setMoney(int money)
        {
            this.money = money;
        }
    }
}
